<#import "/include/ui.ftl" as blue />

	<div class="am-u-sm-12">
		<table class="am-table am-table-striped am-table-hover">
			<thead>
			<tr>
				<th width="60">序号</th>
				<th width="150">位置代码</th>
				<th width="200">位置名称</th>
				<th width="100">类型</th>
				<th width="200">广告名称</th>
				<th width="200">开始生效时间</th>
				<th width="200">结束生效时间</th>
				<th width="100">点击次数</th>
				<th width="100">状态</th>
				<th width="100">排序</th>
				<th width="150">操作</th>
			</tr>
			</thead>
			<tbody>
			<#list page.objectList as vo>
			<tr>
				<td>${vo_index+1}</td>
				<td>${vo.posCode!}</td>
				<td>${vo.posName!}</td>
				<td>${vo.posType!}</td>
				<td>${vo.name!}</td>
				<td>${(vo.startTime?string("yyyy-MM-dd HH:mm"))!}</td>
				<td>${(vo.endTime?string("yyyy-MM-dd HH:mm"))!}</td>
				<td>${vo.clicks!}</td>
				<td>${vo.state!}</td>
				<td>${vo.sort!}</td>
				<td>
					<div class="am-btn-group">
						<a href="${path}/cms/adv/adv_get?id=${vo.id}" class="am-btn am-btn-primary am-btn-sm am-radius">编辑</a>
						<#--<a href="${path}/cms/adv/adv_employee_list?advId=${vo.id}" class="am-btn am-btn-default am-btn-sm am-radius">明细</a>-->
					</div>
				</td>
			</tr>
			</#list>
			</tbody>
		</table>
	</div>
	
	<@blue.pagebar page=page url="/cms/adv/adv_list" />